import re

href = "https://travel.qunar.com/p-pl7652439"
start = re.search('-', href).start() + 3
print(f"start={start}, type={type(start)}")
comment_id = href[start: -1]
comment_id = int(comment_id)
print(comment_id)